package com.enterprise.projectManager.rope;

import com.enterprise.projectManager.model.Log;
import com.enterprise.projectManager.model.Project;
import org.springframework.data.jpa.repository.JpaRepository;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

public interface LogRope extends JpaRepository<Log,String> {
    List<Log> findByProjectProjectId(String id);
    List<Log> findByProjectProjectName(String projectName);
    List<Log> findByLogBeyondDateBetween(Date date1,Date date2);
}
